package com.eight.lrwet.mapper;

import com.eight.lrwet.entity.wet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface WetMapper {

    @Select("select *from wet where id=#{id}")
    public wet findbyId(int id);

    //查询所有数据
    @Select("select *from wet")
    public List<wet> findAll() ;

}
